<!DOCTYPE html>
<html lang="en" class="no-js" ng-app="LoginApp">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>测试系统用户登陆</title>
<link rel="shortcut icon" type="image/x-icon"
	href="img/car_favicon.ico" media="screen" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="assets/css/login.css" type="text/css" rel="stylesheet" />
<link href="css/loginAdjust.css" type="text/css" rel="stylesheet" />
<link href="assets/css/login_bg.css" type="text/css" rel="stylesheet" />
<script src="lib/jquery/jquery-3.3.1.min.js"></script>
<script src="lib/angular/angular.js"></script>
<script src="scripts/loginApp.js"></script>
<script src="scripts/loginController.js"></script>
</head>
<body>
	<div id="particles">
		<canvas class="pg-canvas" width="1600" height="721"></canvas>
	</div>
	<div class="max">
		<div class="header">
			<div class="logo">
				<div class="logo-center clearfix">
					<img class="fl" src="img/car_md_o.png" alt="财务报销" />
					<span class="fl">交通法规测试系统后台登录</span>
				</div>
			</div>
		</div>
		<div class="content" ng-controller="loginController">
			<div class="centerDiv">
				<form id="form" name="form" ng-model="form" novalidate>
					<ul class="loginUl">
<!-- 						<li class="reg"><h2 class="title">登录</h2></li> -->
						<li class="user">
							<span></span>
							<input type="text" placeholder="请输入用户名" id="username" name="username" ng-model="username" required class="input"/>
						</li>
						<li class="psw">
							<span></span>
							<input type="password" placeholder="请输入密码" id="password" name="password" ng-model="password" required  class="input"/>
						</li>
						<li>
							<span>输入验证码：</span>
							<input type="text" class="imgCode input" ng-class="imgCodeChecked === '0' ? 'error' : ''" ng-model="validateCode" ng-blur="checkValidateCode()">
							 <img id="imgCode" src="" alt="" ng-click="flushValidateCode()" style="vertical-align:middle;"/>
       						<label ng-click="flushValidateCode()" style="margin-left:20px;  font-size:12px; cursor:pointer; color:blue;">点击刷新</label>
						</li>
						<li><button id="btnLogin" type="button" ng-click="login()" >登&nbsp;录</button></li> 
						<li style="text-align:left;color:red;"><span>{{errorMsg ? errorMsg : ''}}</span></li>
						<li class="forget"><span class="tip"></span></li>
					</ul>
				</form>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
$(function(){ 
	$("#imgCode").attr("src", "/ngsl/imgCode/getSysManageLoginCode");
}); 

</script>

</html>